CFLAGS=-g -Wall
CC=gcc
SRCS=tokenizer.c kinda-sh.c shellFunctions.c linkedList.c hashMap.c
OBJS=tokenizer.o kinda-sh.o shellFunctions.o linkedList.o hashMap.o
LDFLAGS=
LIBS=

all:    kinda-sh

$(SRCS):
	$(CC) $(CFLAGS) -c $*.c

kinda-sh: $(OBJS)
	$(CC) $(LDFLAGS) $(LIBS) -o kinda-sh $(OBJS)

clean:
	rm -f *.o kinda-sh

